################################################
#
# BiscuitOS-VADDR-MECH-Detect-physcal-address
#
################################################
PK_VADDR_MECH_DETECT_PADDR_NAME        := BiscuitOS-VADDR-MECH-Detect-physcal-address
PK_VADDR_MECH_DETECT_PADDR_VERSION     := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_VERSION)
PK_VADDR_MECH_DETECT_PADDR_SITE        := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_URL)
PK_VADDR_MECH_DETECT_PADDR_GITHUB      := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_GITHUB)
PK_VADDR_MECH_DETECT_PADDR_SUBNAME     :=
PK_VADDR_MECH_DETECT_PADDR_BUILDARCH   := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_BUILDARCH)
PK_VADDR_MECH_DETECT_PADDR_DIR         := $(srctree)/package/Virtual-Address/BiscuitOS-VADDR-MECH-Detect-physcal-address
PK_VADDR_MECH_DETECT_PADDR_PATCH       := $(PK_VADDR_MECH_DETECT_PADDR_DIR)/patch
PK_VADDR_MECH_DETECT_PADDR_BSBIT       := BiscuitOS-VADDR-MECH-Detect-physcal-address-$(PK_VADDR_MECH_DETECT_PADDR_VERSION).bsbit
PK_VADDR_MECH_DETECT_PADDR_OUT         :=
PK_VADDR_MECH_DETECT_PADDR_SCRIPTS     := $(srctree)/scripts/package/package-app.sh
PK_VADDR_MECH_DETECT_PADDR_TAR         := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_TAR)
PK_VADDR_MECH_DETECT_PADDR_PACKAGE     :=
PK_VADDR_MECH_DETECT_PADDR_CONFIG      := $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CONFIG)
SUB_TARGET                  += $(PK_VADDR_MECH_DETECT_PADDR_DIR)/build

PK_VADDR_MECH_DETECT_PADDR_sh = $(CONFIG_SHELL) $(PK_VADDR_MECH_DETECT_PADDR_SCRIPTS) \
                 $1X \
                 $(PK_VADDR_MECH_DETECT_PADDR_NAME)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_VERSION)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_SITE)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_GITHUB)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_SUBNAME)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CONFIG)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_LIBPATH)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CPPFLAGS)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_DPKCONFIG)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CFLAGS)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_LDFLAGS)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CXXFLAGS)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_ASFLAGS)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_BSBIT)X \
                 $(PK_VADDR_MECH_DETECT_PADDR_BUILDARCH)X \
		 $(PK_VADDR_MECH_DETECT_PADDR_CSRCFILE)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_SRCFILE)X \
                 $(CONFIG_PK_VADDR_MECH_DETECT_PADDR_CSRCFILE)

$(PK_VADDR_MECH_DETECT_PADDR_DIR)/build: FORCE
	$(Q)$(call PK_VADDR_MECH_DETECT_PADDR_sh,$(srctree))
